/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.kkh.dao;

import com.hlingsoft.kkh.entity.EventsCategory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户服务
 *
 * @author Zhang jiale
 *
 */

@Repository
public interface EventsCategoryDao {


	/**
	 * 添加标签
	 *
	 * @param eventsCategory
	 * @return Integer
	 */
	public int addEventsCategory(EventsCategory eventsCategory);



	public EventsCategory getEventsCategoryByName(@Param("name")String name);

}
